The ColorPicker Component > FColorPicker.setRowCount()

 

FColorPicker.setRowCount()

Availability

Flash Player 6.

Usage

myPicker_cp.setRowCount (num)

Parameters

num - The number of swatches per row in the ColorPicker.

Returns

Nothing.

Description

Specifies how many swatches appear in a row in the ColorPicker.

Example

The following code makes a ColorPicker component use 15 swatches per row:

myPicker_cp.setRowCount(15);